package bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by pc on 2018/7/7.
 */

public class WorkFlow implements Parcelable {

    /**
     * MessageId : ffc14f0a-48df-451c-91c2-f00ccd96db99
     * WorkFlowId : 8f9ed0d5-c00c-44d4-9ad1-cc472a78cf98
     * DocumentTitle : 〔3434〕
     * DocumentNumber : 34343
     * ClosedOrHairTime : 2018-07-06 00:00:00
     * ReceiveTime : 2018-07-06 11:26:24
     * InitiateEmplId : 100001
     * InitiateEmplName : 系统管理员
     * MyTask : 党政办签办
     * MessageTitle : 阅件收文流程
     * SequenceName : 国务院来文
     * SequenceNumber : A-180001
     *
     *
     *
     * {
     *             "number": 3,
     *             "DocumentTitle": "关于规范交通的通知",
     *             "ClosedOrHairTime": "2019-04-24 15:08:00",
     *             "MessageId": "9af89633-c010-4c2e-b86d-7902e690266e",
     *             "WorkflowId": "735d333f-d695-4199-9b42-bc65e8ee6a33",
     *             "InitiateEmplId": "100001",
     *             "InitiateEmplName": "系统管理员",
     *             "MessageTitle": "公文流转表单",
     *             "MyTask": "文电科归档",
     *             "ReceiveTime": "2018-04-24 17:01:04"
     *           }
     *
     *                          "DocumentTitle": "出国申请系统上线通知",
     *             "ClosedOrHairTime": "2018-05-06 00:00:00",
     *             "MessageId": "b3a965e1-c2c7-48c4-ae2b-5777548824a9",
     *             "WorkflowId": "735d333f-d695-4199-9b42-bc65e8ee6a33",
     *             "MessageTitle": "公文流转表单",
     *             "MyTask": "党政办拟办",
     *             "ReceiveTime": "2018-05-06 16:02:18"
     */

    private String number;
    private String MessageId;
    private String WorkFlowId;
    private String DocumentTitle;
    private String DocumentNumber;
    private String CreateTime;
    private String ClosedOrHairTime;
    private String ReceiveTime;
    private String InitiateEmplId;
    private String InitiateEmplName;
    private String MyTask;
    private String MessageTitle;
    private String SequenceName;
    private String SequenceNumber;

    public String getCreateTime() {
        return CreateTime;
    }

    public void setCreateTime(String createTime) {
        CreateTime = createTime;
    }

    public String getMessageId() {
        return MessageId;
    }

    public void setMessageId(String MessageId) {
        this.MessageId = MessageId;
    }

    public String getWorkFlowId() {
        return WorkFlowId;
    }

    public void setWorkFlowId(String WorkFlowId) {
        this.WorkFlowId = WorkFlowId;
    }

    public String getDocumentTitle() {
        return DocumentTitle;
    }

    public void setDocumentTitle(String DocumentTitle) {
        this.DocumentTitle = DocumentTitle;
    }

    public String getDocumentNumber() {
        return DocumentNumber;
    }

    public void setDocumentNumber(String DocumentNumber) {
        this.DocumentNumber = DocumentNumber;
    }

    public String getClosedOrHairTime() {
        return ClosedOrHairTime;
    }

    public void setClosedOrHairTime(String ClosedOrHairTime) {
        this.ClosedOrHairTime = ClosedOrHairTime;
    }

    public String getReceiveTime() {
        return ReceiveTime;
    }

    public void setReceiveTime(String ReceiveTime) {
        this.ReceiveTime = ReceiveTime;
    }

    public String getInitiateEmplId() {
        return InitiateEmplId;
    }

    public void setInitiateEmplId(String InitiateEmplId) {
        this.InitiateEmplId = InitiateEmplId;
    }

    public String getInitiateEmplName() {
        return InitiateEmplName;
    }

    public void setInitiateEmplName(String InitiateEmplName) {
        this.InitiateEmplName = InitiateEmplName;
    }

    public String getMyTask() {
        return MyTask;
    }

    public void setMyTask(String MyTask) {
        this.MyTask = MyTask;
    }

    public String getMessageTitle() {
        return MessageTitle;
    }

    public void setMessageTitle(String MessageTitle) {
        this.MessageTitle = MessageTitle;
    }

    public String getSequenceName() {
        return SequenceName;
    }

    public void setSequenceName(String SequenceName) {
        this.SequenceName = SequenceName;
    }

    public String getSequenceNumber() {
        return SequenceNumber;
    }

    public void setSequenceNumber(String SequenceNumber) {
        this.SequenceNumber = SequenceNumber;
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.MessageId);
        dest.writeString(this.WorkFlowId);
        dest.writeString(this.DocumentTitle);
        dest.writeString(this.DocumentNumber);
        dest.writeString(this.ClosedOrHairTime);
        dest.writeString(this.ReceiveTime);
        dest.writeString(this.InitiateEmplId);
        dest.writeString(this.InitiateEmplName);
        dest.writeString(this.MyTask);
        dest.writeString(this.MessageTitle);
        dest.writeString(this.SequenceName);
        dest.writeString(this.SequenceNumber);
    }

    public WorkFlow() {
    }

    protected WorkFlow(Parcel in) {
        this.MessageId = in.readString();
        this.WorkFlowId = in.readString();
        this.DocumentTitle = in.readString();
        this.DocumentNumber = in.readString();
        this.ClosedOrHairTime = in.readString();
        this.ReceiveTime = in.readString();
        this.InitiateEmplId = in.readString();
        this.InitiateEmplName = in.readString();
        this.MyTask = in.readString();
        this.MessageTitle = in.readString();
        this.SequenceName = in.readString();
        this.SequenceNumber = in.readString();
    }

    public static final Creator<WorkFlow> CREATOR = new Creator<WorkFlow>() {
        @Override
        public WorkFlow createFromParcel(Parcel source) {
            return new WorkFlow(source);
        }

        @Override
        public WorkFlow[] newArray(int size) {
            return new WorkFlow[size];
        }
    };
}
